package com.lqian.controller;

import com.lqian.service.WeixinPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {
    @Autowired
    private WeixinPayService weixinPayService;


    @GetMapping("/hello")
    public String test(){
        weixinPayService.testValue();
        return "success!";
    }
}
